# Maintainer: Bruno Pagani <archange@archlinux.org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgver=22
pkgrel=1
epoch=1
pkgname=electron
pkgdesc='Meta package, always depends on the latest stable Electron build'
arch=(any)
url='https://electronjs.org'
license=(MIT)
depends=("electron$pkgver-bin")

package() {
	mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib"
	ln -sf "${depends[0]%-bin}" "$pkgdir/usr/bin/$pkgname"
	ln -sf "${depends[0]%-bin}" "$pkgdir/usr/lib/$pkgname"
}
